package matlap.shared;

import java.io.Serializable;

public class Student implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String firstName = "";
	private String lastName = "";
	private String userName = "";
	private String school = "";
	private String locality = "";
	private int classNr = 0;
	private String address = "";
	private int[] scores = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
	private String email = "";
	private String phone = "";
	private String password = "";

	public Student() {

	}

	public Student(String firstName, String lastName, String userName,
			String password, String address, String email, String phone,
			String school, String locality, int classNr) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.userName = userName;
		this.password = password;
		this.address = address;
		this.email = email;
		this.phone = phone;
		this.school = school;
		this.locality = locality;
		this.classNr = classNr;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public int getClassNr() {
		return classNr;
	}

	public void setClassNr(int classNr) {
		this.classNr = classNr;
	}

	public int getScores(int nr) {
		return scores[nr];
	}

	public void setScores(int nr, int scores) {
		this.scores[nr] = scores;
	}//double

	public String getLocality() {
		return locality;
	}

	public void setLocality(String locality) {
		this.locality = locality;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String name) {
		this.email = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String name) {
		this.phone = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String name) {
		this.password = name;
	}

}
